﻿body
{
	background-color: Black;
	font-size: .75em;
	font-family: Verdana, Helvetica, Sans-Serif;
	margin: 0;
	padding: 0;
	color: #fff;
	width: 992px;
}

a:link
{
	color: #FFFFFF;
}
a:visited
{
	color: #fff;
}
a:hover
{
	color: Red;
	text-decoration: none;
}
a:active
{
	color: #fff;
}

p, ul
{
	margin-bottom: 20px;
	line-height: 1.6em;
}

/* HEADINGS   
----------------------------------------------------------*/
h1, h2, h3, h4, h5, h6
{
	font-size: 1.5em;
	color: #fff;
	font-family: Verdana, Tahoma, Arial, Helvetica;
}

h1
{
	font-size: 2em;
	padding-bottom: 0;
	margin-bottom: 0;
}
h2
{
	padding: 0 0 10px 0;
}
h3
{
	font-size: 1.2em;
}
h4
{
	font-size: 1.1em;
}
h5, h6
{
	font-size: 1em;
}

/* this rule styles <h2> tags that are the 
first child of the left and right table columns */
.rightColumn > h1, .rightColumn > h2, .leftColumn > h1, .leftColumn > h2
{
	margin-top: 0;
}

/* PRIMARY LAYOUT ELEMENTS   
----------------------------------------------------------*/
.centered
{
	text-align: center;
	vertical-align: middle;
	margin-left: auto;
	margin-right: auto;
}
.page
{
	background: transparent url(/content/logo.png) no-repeat top left;
	width: 90%;
	margin-left: auto;
	margin-right: auto;
}

#header
{
	height: 130px;
	margin-bottom: 0px;
	color: #000;
	padding: 0;
}

#header h1
{
	font-weight: bold;
	padding: 5px 0px 0px 85px;
	margin: 0px;
	color: #fff;
	border: none;
	line-height: 2em;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 32px !important;
}

#main
{
	border-top: 1px #5C87B2 solid;
	clear: both;
	background-color: #333333;
}

#main2
{
	clear: both;
}

#content
{
	padding: 30px 10px 15px 30px;
	float: left;
	width: 490px;
}

#homeContent, #backoffice
{
	clear: both;
	padding: 20px 20px 20px 20px;
}

#backoffice
{
	background: #5C87B2;
}

#right
{
	float: right;
	width: 300px;
	padding: 30px 10px 15px 10px;
	background-color: #666666;
}

#footer
{
	background: #5c87b2;
	color: #fff;
	padding: 10px 10px 10px 10px;
	line-height: normal;
	margin: 0;
	font-size: .9em;
	clear: both;
}
#footer a
{
	color: #fff !important;
}

/* TAB MENU   
----------------------------------------------------------*/
ul#menu, ul.innerNav, ul.modelsCatalog
{
	margin: 0px;
	text-align: right;
}

ul.innerNav
{
	clear: both;
	background: #336699;
	padding: 3px 5px;
	margin: 5px 0px;
}

ul#menu li, ul.innerNav li, ul.modelsCatalog li
{
	display: inline;
	list-style: none;
	white-space: nowrap;
}

ul#menu li#greeting
{
	padding: 10px 20px;
	font-weight: bold;
	text-decoration: none;
	line-height: 2.8em;
	color: #fff;
}

ul#menu li a
{
	padding: 10px 20px;
	font-weight: bold;
	text-decoration: none;
	line-height: 2.8em;
	color: #fff;
}

ul#menu li a:hover, .active
{
	background-color: #5c87b2 !important;
	color: #fff !important;
	text-decoration: none;
	border-top: solid thick #336699;
	border-top-right-radius: 1em;
	border-top-left-radius: 1em;
}

ul#menu li a:active
{
	background-color: #5c87b2;
	color: #f00000;
	text-decoration: none;
}

ul#menu li.selected a
{
	background-color: #fff;
	color: #000;
}

/* FORM LAYOUT ELEMENTS   
----------------------------------------------------------*/

fieldset
{
	margin: 1em 0;
	padding: 1em;
	border: 1px solid #CCC;
}

fieldset p
{
	margin: 2px 12px 10px 10px;
}

fieldset label
{
	display: block;
}

fieldset label.inline
{
	display: inline;
}

legend
{
	font-size: 1.1em;
	font-weight: 600;
	padding: 2px 4px 8px 4px;
}

input[type="text"]
{
	width: 200px;
	border: 1px solid #CCC;
}

input[type="password"]
{
	width: 200px;
	border: 1px solid #CCC;
}

.editor-label
{
	margin: 2px;
	width: 150px;
	float: left;
}
.editor-field
{
	margin: 2px;
	float: left;
}
.clear
{
	clear: both;
}

/* TABLE
----------------------------------------------------------*/

.DDDetailsTable, .grid
{
	border: solid 1px #e8eef4; /*border-collapse: collapse;*/
	width: 100%;
}

tr.td > td
{
	padding: 5px;
	border: solid 1px #e8eef4;
}

.th
{
	padding: 6px 5px;
	text-align: left;
	background-color: #c9c9c9;
	border: solid 1px #e8eef4;
	color: #000 !important;
}

.th a
{
	color: #000 !important;
}

/* MISC  
----------------------------------------------------------*/
.clear
{
	clear: both;
}

.error
{
	color: Red;
}

#menucontainer
{
	margin-top: 80px;
}

div#title
{
	color: #fff;
	display: none;
	float: left;
	text-align: left;
}

#logindisplay
{
	font-size: 1.1em;
	display: block;
	text-align: right;
	margin: 10px;
	color: #fff;
}

#logindisplay a:link
{
	color: #fff;
}

#logindisplay a:visited
{
	color: #fff;
}

#logindisplay a:hover
{
	color: #fff;
	text-decoration: none;
}

.field-validation-error
{
	color: #ff0000;
}

.input-validation-error
{
	border: 1px solid #ff0000;
	background-color: #ffeeee;
}

.validation-summary-errors
{
	font-weight: bold;
	color: #ff0000;
}

/* tabella HTML simulata con CSS */
div.table
{
	padding: 5px 5px 5px 5px;
}
div.tr
{
	clear: both;
	width: 100%;
	padding: 3px 0px 6px 0px;
}
div.td1
{
	float: left;
	width: 40%;
	font-weight: bold;
	height: 20px;
}
div.td2
{
	float: right;
	width: 60%;
	height: 20px;
	height: auto !important;
	min-height: 20px !important;
}
div.td2 *
{
	vertical-align: top;
}

div.td
{
	float: left;
	height: 20px;
	height: auto !important;
	min-height: 20px !important;
}

div.tr_submit
{
	width: 100%;
	clear: both;
	text-align: right;
	padding: 5px 0px 8px 0px;
	margin-right: 10%;
}

#aspNetHidden
{
	display: none;
}

/* views */
.imageThumb
{
	clear: both;
	padding: 10px;
	margin-bottom: 10px;
	margin-left: 10px;
	min-height: 70px;
	background: #303030;
	border: solid thick #303030;
	border-radius: 1em;
}
.imageThumb img
{
	float: left;
	max-width: 70px;
}
.imageThumb h1
{
	font-size: 1.8em;
}
.imageThumb a, .imageThumb a:visited, a:hover
{
	text-decoration: none;
}
.imageCaption
{
	float: left;
	padding-left: 10px;
}

.modelsCatalog
{
	clear: both;
	padding: 40px;
}

.homeCatalog .modelsCatalog
{
	height: 140px;
}

.homeCatalog .modelsCatalog .imageThumb
{
	width: 140px!important;
	max-width: 140px!important;
	float: left;
	clear: none !important;
}

div.pager ul li
{
	display: inline;
	list-style-type: none;
	padding: 5px;
}

#imageContainer ul li
{
	display: inline;
	list-style-type: none;
	margin: 5px;
	text-align: center;
	vertical-align: middle;
}

.newsContainer
{
}

#homeContent .newsContainer
{
	float: left;
	width: 340px;
}

.modelsCarousel
{
	float: left;
	width: 500px;
	text-align: center;
	margin: auto;
}

time
{
	color: #000;
	background: #f0f0f0;
	border: solid thick #f0f0f0;
	border-radius: 1em;
}

.singleNews
{
	margin: 8px;
	padding: 2px 2px 10px 2px;
	background: #606060;
	border: solid thick #606060;
	border-radius: 1em;
}

.singleNews h3
{
	font-size: 1.2em;
}

.singleNews a:hover
{
	color: #ccc;
}
.singleNews p
{
	padding: 0p 10px 0px 10px;
	font-style: italic;
}

/* effetti */
ul.modelsCatalog li div
{
	transform: rotate(-2deg);
	-ms-transform: rotate(-2deg);
	-webkit-transform: rotate(-2deg);
	-moz-transform: rotate(-2deg);
}

ul.modelsCatalog li:nth-child(even) div
{
	transform: rotate(2deg);
	-ms-transform: rotate(2deg);
	-webkit-transform: rotate(2deg);
	-moz-transform: rotate(2deg);
	-o-transform: rotate(2deg);
}

ul.modelsCatalog li:nth-child(3n) div, ul.modelsCatalog li:nth-child(5n) div
{
	transform: none;
	-ms-transform: none;
	-webkit-transform: none;
	-moz-transform: none;
	position: relative;
	top: -5px;
}

ul.modelsCatalog li:nth-child(6n) div
{
	transform: rotate(-3deg);
	-ms-transform: rotate(-3deg);
	-webkit-transform: rotate(-3deg);
	-moz-transform: rotate(-3deg);
}

ul.modelsCatalog li div.imageThumb:hover
{
	transform: scale(1.25);
	-ms-transform: scale(1.25);
	-webkit-transform: scale(1.25);
	-moz-transform: scale(1.25);
	position: relative;
	z-index: 5;
	background: #f00000;
	border-color: #f00000;
}

ul.modelsCatalog li a:hover
{
	color: #fff !important;
}

.avatar
{
	float: left;
	width: 150px;
}
.avatarDescription
{
	float: right;
	width: 340px;
}

@media (min-width:1px) and (max-width:500px)
{
	.page
	{
		width: auto !important;
	}
	#right, #content, .avatar, .avatarDescription
	{
		clear: both !important;
		width: auto !important;
		float: none !important;
		padding: 3px !important;
	}
	ul#menu, ul.innerNav, ul.modelsCatalog
	{
		text-align: left;
		padding: 5px !important;
		white-space:normal!important;
	}
	
	ul.modelsCatalog li div, ul.modelsCatalog li div.imageThumb:hover
	{
		transform: rotate(0deg)!important;
		-ms-transform: rotate(0deg)!important;
		-webkit-transform: rotate(0deg)!important;
		-moz-transform: rotate(0deg)!important;
		margin:5px!important;
	}

}